﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLayer.Entity;
using DataAccessLayer.Adapter;
using System.Data;
namespace BussinessLayer
{
    public class DanTocBussiness
    {
        DanTocAdapter dtAdapter = new DanTocAdapter();
        public DataTable LoadDanToc()
        {
            return dtAdapter.LoadDanToc();
        }
        public void ThemDanToc(clsDanToc clsDT)
        {
            dtAdapter.ThemDanToc(clsDT);
        }
        public void SuaDanToc(clsDanToc clsDT)
        {
            dtAdapter.SuaDanToc(clsDT);
        }
        public void XoaDanToc(clsDanToc clsDT)
        {
            dtAdapter.XoaDanToc(clsDT);
        }
        public object KiemTraMa(clsDanToc clsDT)
        {
            return dtAdapter.KiemTraMa(clsDT);
        }
        public object KiemTraTen(clsDanToc clsDT)
        {
            return dtAdapter.KiemTraTen(clsDT);
        }
    }
}
